//
//  AppPreference.h
//  FoxitApp
//
//  Created by sijia_liu on 15/6/2.
//
//

#import <Foundation/Foundation.h>

@interface AppPreference : NSObject

+ (int)getIntValue:(NSString *)module type:(NSString *)type defaultValue:(int)defVal;
+ (void)setIntValue:(NSString *)module type:(NSString *)type value:(int)value;

+ (float)getFloatValue:(NSString *)module type:(NSString *)type defaultValue:(float)defVal;
+ (void)setFloatValue:(NSString *)module type:(NSString *)type value:(float)value;

+ (NSString*)getStringValue:(NSString *)module type:(NSString *)type defaultValue:(NSString *)defVal;
+ (void)setStringValue:(NSString *)module type:(NSString *)type value:(NSString *)value;

+ (BOOL)getBoolValue:(NSString *)module type:(NSString *)type delaultValue:(BOOL)defVal;
+ (void)setBoolValue:(NSString *)module type:(NSString *)type value:(BOOL)value;

+ (NSDate *)getDateValue:(NSString *)module type:(NSString *)type defaultValue:(NSDate *)defVal;
+ (void)setDateValue:(NSString *)module type:(NSString *)type value:(NSDate *)value;

@end
